home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
Borland Visual dBASE Professiona v7.0
/
DATA1.CAB
/
Sample_dBASE
/
Mugs
/
Customer.lab
< prev
next >
Wrap
Text File
|
1997-11-20
|
15KB
|
511 lines
//--------------------------------------------------------------
//
// Customer.lab - Mugs Sample Application
//
// Customer Address Lables - called from Mugs.mnu
//
// Dependencies: customer.sql
//
// Visual dBASE Samples Group
//
// $Revision: 1.4 $
//
// Copyright (c) 1997, Borland International, Inc.
// All rights reserved.
//
//---------------------------------------------------------------
** END HEADER -- do not remove this line
//
// Generated on 10/01/97
//
local r
r = new CUSTOMERReport()
r.render()
class CUSTOMERReport of REPORT
with (this)
scaleFontSize = 8
scaleFontBold = false
endwith
this.DMCONNECT = new DATAMODREF()
this.DMCONNECT.parent = this
with (this.DMCONNECT)
filename = "connect.dmd"
dataModClass = "ConnectDataModule"
share = 0
active = true
left = 0
top = 0
endwith
this.CUSTOMER1 = new QUERY()
this.CUSTOMER1.parent = this
with (this.CUSTOMER1)
left = 1
top = 1
database = form.DMCONNECT.ref.dbmugs
sql = "@customer.sql"
active = true
endwith
with (this.printer)
duplex = 1
orientation = 1
paperSource = 15
paperSize = 1
resolution = 4
color = 2
trueTypeFonts = 2
endwith
this.STREAMSOURCE1 = new STREAMSOURCE(this)
with (this.STREAMSOURCE1.detailBand)
height = 1440
beginNewFrame = true
endwith
this.STREAMSOURCE1.detailBand.VALUENAME = new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.VALUENAME)
height = 200
left = 100
top = 200
width = 3500
metric = 1
colorNormal = "BtnText"
suppressIfBlank = true
fontSize = 8
text = {||TRIM(this.Form.customer1.Rowset.Fields["First Name"].Value) + " " + TRIM(this.Form.customer1.Rowset.Fields["Last Name"].Value)}
endwith
this.STREAMSOURCE1.detailBand.VALUESTREET1 = new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.VALUESTREET1)
height = 200
left = 100
top = 400
width = 3500
metric = 1
colorNormal = "BtnText"
suppressIfBlank = true
fontSize = 8
text = {||TRIM(this.Form.customer1.Rowset.Fields["STREET1"].Value)}
endwith
this.STREAMSOURCE1.detailBand.VALUESTREET2 = new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.VALUESTREET2)
height = 200
left = 100
top = 600
width = 3500
metric = 1
colorNormal = "BtnText"
suppressIfBlank = true
fontSize = 8
text = {||TRIM(this.Form.customer1.Rowset.Fields["STREET2"].Value)}
endwith
this.STREAMSOURCE1.detailBand.VALUECITYSTATEZIP = new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.VALUECITYSTATEZIP)
height = 200
left = 100
top = 800
width = 3500
metric = 1
colorNormal = "BtnText"
suppressIfBlank = true
fontSize = 8
text = {||TRIM(this.Form.customer1.Rowset.Fields["CITY"].Value) + "," + " " + TRIM(this.Form.customer1.Rowset.Fields["STATE ID"].Value) + " " + TRIM(this.Form.customer1.Rowset.Fields["POSTAL"].Value)}
endwith
this.STREAMSOURCE1.detailBand.VALUECOUNTRY = new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.VALUECOUNTRY)
height = 200
left = 100
top = 1015
width = 3500
metric = 1
colorNormal = "BtnText"
suppressIfBlank = true
fontSize = 8
text = {||TRIM(this.Form.customer1.Rowset.Fields["COUNTRY"].Value)}
endwith
this.PAGETEMPLATE1 = new PAGETEMPLATE(this)
with (this.PAGETEMPLATE1)
height = 15840
width = 12240
marginTop = 720
marginLeft = 273
marginBottom = 720
marginRight = 273
gridLineWidth = 0
endwith
this.PAGETEMPLATE1.STREAMFRAME1 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME1)
height = 1440
width = 3772
metric = 1
form.STREAMFRAME1 = form.pagetemplate1.streamframe1
endwith
this.PAGETEMPLATE1.STREAMFRAME2 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME2)
height = 1440
left = 3944
width = 3772
metric = 1
form.STREAMFRAME2 = form.pagetemplate1.streamframe2
endwith
this.PAGETEMPLATE1.STREAMFRAME3 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME3)
height = 1440
left = 7888
width = 3772
metric = 1
form.STREAMFRAME3 = form.pagetemplate1.streamframe3
endwith
this.PAGETEMPLATE1.STREAMFRAME4 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME4)
height = 1440
top = 1440
width = 3772
metric = 1
form.STREAMFRAME4 = form.pagetemplate1.streamframe4
endwith
this.PAGETEMPLATE1.STREAMFRAME5 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME5)
height = 1440
left = 3944
top = 1440
width = 3772
metric = 1
form.STREAMFRAME5 = form.pagetemplate1.streamframe5
endwith
this.PAGETEMPLATE1.STREAMFRAME6 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME6)
height = 1440
left = 7888
top = 1440
width = 3772
metric = 1
form.STREAMFRAME6 = form.pagetemplate1.streamframe6
endwith
this.PAGETEMPLATE1.STREAMFRAME7 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME7)
height = 1440
top = 2880
width = 3772
metric = 1
form.STREAMFRAME7 = form.pagetemplate1.streamframe7
endwith
this.PAGETEMPLATE1.STREAMFRAME8 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME8)
height = 1440
left = 3944
top = 2880
width = 3772
metric = 1
form.STREAMFRAME8 = form.pagetemplate1.streamframe8
endwith
this.PAGETEMPLATE1.STREAMFRAME9 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME9)
height = 1440
left = 7888
top = 2880
width = 3772
metric = 1
form.STREAMFRAME9 = form.pagetemplate1.streamframe9
endwith
this.PAGETEMPLATE1.STREAMFRAME10 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME10)
height = 1440
top = 4320
width = 3772
metric = 1
form.STREAMFRAME10 = form.pagetemplate1.streamframe10
endwith
this.PAGETEMPLATE1.STREAMFRAME11 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME11)
height = 1440
left = 3944
top = 4320
width = 3772
metric = 1
form.STREAMFRAME11 = form.pagetemplate1.streamframe11
endwith
this.PAGETEMPLATE1.STREAMFRAME12 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME12)
height = 1440
left = 7888
top = 4320
width = 3772
metric = 1
form.STREAMFRAME12 = form.pagetemplate1.streamframe12
endwith
this.PAGETEMPLATE1.STREAMFRAME13 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME13)
height = 1440
top = 5760
width = 3772
metric = 1
form.STREAMFRAME13 = form.pagetemplate1.streamframe13
endwith
this.PAGETEMPLATE1.STREAMFRAME14 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME14)
height = 1440
left = 3944
top = 5760
width = 3772
metric = 1
form.STREAMFRAME14 = form.pagetemplate1.streamframe14
endwith
this.PAGETEMPLATE1.STREAMFRAME15 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME15)
height = 1440
left = 7888
top = 5760
width = 3772
metric = 1
form.STREAMFRAME15 = form.pagetemplate1.streamframe15
endwith
this.PAGETEMPLATE1.STREAMFRAME16 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME16)
height = 1440
top = 7200
width = 3772
metric = 1
form.STREAMFRAME16 = form.pagetemplate1.streamframe16
endwith
this.PAGETEMPLATE1.STREAMFRAME17 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME17)
height = 1440
left = 3944
top = 7200
width = 3772
metric = 1
form.STREAMFRAME17 = form.pagetemplate1.streamframe17
endwith
this.PAGETEMPLATE1.STREAMFRAME18 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME18)
height = 1440
left = 7888
top = 7200
width = 3772
metric = 1
form.STREAMFRAME18 = form.pagetemplate1.streamframe18
endwith
this.PAGETEMPLATE1.STREAMFRAME19 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME19)
height = 1440
top = 8640
width = 3772
metric = 1
form.STREAMFRAME19 = form.pagetemplate1.streamframe19
endwith
this.PAGETEMPLATE1.STREAMFRAME20 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME20)
height = 1440
left = 3944
top = 8640
width = 3772
metric = 1
form.STREAMFRAME20 = form.pagetemplate1.streamframe20
endwith
this.PAGETEMPLATE1.STREAMFRAME21 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME21)
height = 1440
left = 7888
top = 8640
width = 3772
metric = 1
form.STREAMFRAME21 = form.pagetemplate1.streamframe21
endwith
this.PAGETEMPLATE1.STREAMFRAME22 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME22)
height = 1440
top = 10080
width = 3772
metric = 1
form.STREAMFRAME22 = form.pagetemplate1.streamframe22
endwith
this.PAGETEMPLATE1.STREAMFRAME23 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME23)
height = 1440
left = 3944
top = 10080
width = 3772
metric = 1
form.STREAMFRAME23 = form.pagetemplate1.streamframe23
endwith
this.PAGETEMPLATE1.STREAMFRAME24 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME24)
height = 1440
left = 7888
top = 10080
width = 3772
metric = 1
form.STREAMFRAME24 = form.pagetemplate1.streamframe24
endwith
this.PAGETEMPLATE1.STREAMFRAME25 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME25)
height = 1440
top = 11520
width = 3772
metric = 1
form.STREAMFRAME25 = form.pagetemplate1.streamframe25
endwith
this.PAGETEMPLATE1.STREAMFRAME26 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME26)
height = 1440
left = 3944
top = 11520
width = 3772
metric = 1
form.STREAMFRAME26 = form.pagetemplate1.streamframe26
endwith
this.PAGETEMPLATE1.STREAMFRAME27 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME27)
height = 1440
left = 7888
top = 11520
width = 3772
metric = 1
form.STREAMFRAME27 = form.pagetemplate1.streamframe27
endwith
this.PAGETEMPLATE1.STREAMFRAME28 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME28)
height = 1440
top = 12960
width = 3772
metric = 1
form.STREAMFRAME28 = form.pagetemplate1.streamframe28
endwith
this.PAGETEMPLATE1.STREAMFRAME29 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME29)
height = 1440
left = 3944
top = 12960
width = 3772
metric = 1
form.STREAMFRAME29 = form.pagetemplate1.streamframe29
endwith
this.PAGETEMPLATE1.STREAMFRAME30 = new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME30)
height = 1440
left = 7888
top = 12960
width = 3772
metric = 1
form.STREAMFRAME30 = form.pagetemplate1.streamframe30
endwith
this.firstPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.nextPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.streamframe1.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe2.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe3.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe4.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe5.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe6.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe7.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe8.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe9.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe10.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe11.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe12.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe13.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe14.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe15.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe16.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe17.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe18.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe19.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe20.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe21.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe22.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe23.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe24.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe25.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe26.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe27.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe28.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe29.streamSource = this.form.STREAMSOURCE1
this.form.pagetemplate1.streamframe30.streamSource = this.form.STREAMSOURCE1
this.form.STREAMSOURCE1.rowset = this.form.customer1.rowset
endclass